#pragma once

class CMemoryMap {
public:
	CMemoryMap();
	~CMemoryMap(void);

	bool Init(DWORD pid);
	MEMORY_BASIC_INFORMATION* GetNext();

protected:
	void Destroy();

private:
	MEMORY_BASIC_INFORMATION m_Info;
	PBYTE m_pAddress;
	HANDLE m_hProcess;
};
